package dk.iha;


public class LogItem {
	
	private String uniqueId;
	private String logTime;
	private String movement;
	private String latitude;
	private String longitude;
	private String batteryLevel;
	private String temperature;
	
	public LogItem(){}
	
	public LogItem(	String uniqueId, 
					String logTime,
					String movement,
					String latitude,
					String longitude, 
					String batteryLevel,
					String temperature){
		this.uniqueId = uniqueId;
		this.logTime = logTime;
		this.movement = movement;
		this.latitude = latitude;
		this.longitude = longitude;		
		this.batteryLevel = batteryLevel;
		this.temperature = temperature;
	}
	
	public String getBatteryLevel() {
		return batteryLevel;
	}
	public void setBatteryLevel(String batteryLevel) {
		this.batteryLevel = batteryLevel;
	}
	public String getUniqueId() {
		return uniqueId;
	}
	public void setUniqueId(String uniqueId) {
		this.uniqueId = uniqueId;
	}
	public String getLogTime() {
		return logTime;
	}
	public String gettemperature() {
		return temperature;
	}
		
	public void setLogTime(String logTime) {
		this.logTime = logTime;
	}
	
	public String getMovement() {
		return movement;
	}
	public void setMovement(String movement) {
		this.movement = movement;
	}
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public void settemperature(String temperature) {
		this.temperature = temperature;
	}
	
	public String toString(){
		return 	"" + uniqueId + 
				";" + logTime + 
				";" + movement + 
				";" + latitude + 
				";" + longitude + 
				";" + batteryLevel + 
				";" + temperature + 
				"\n";
	}
	
	

}
